<?php
	$sql="DELETE FROM tbl_product_type WHERE id=$_POST[guid]";
	$res=mysql_query($sql);
			
	if(!$res)
	{
		echo "<script>history.go(-1)</script>";
	}
	else 
	{
		@unlink("images/product/$_POST[image]");
		@unlink("images/product/thumbnail/$_POST[image]");
		echo "<script>window.location='?zone=product_type'</script>";
	}
?>

